\documentclass{standalone}
\usepackage{tikz}
\usepackage{ctex,siunitx}
\setCJKmainfont{Noto Serif CJK SC}
\usepackage{tkz-euclide}
\usepackage{amsmath}
\usepackage{wasysym}
\usetikzlibrary{patterns, calc}
\usetikzlibrary {decorations.pathmorphing, decorations.pathreplacing, decorations.shapes,}
\begin{document}
\small
\begin{tikzpicture}[>=latex,scale=1]
  \draw [dashdotted](0,0)node[left]{$O$}--(7,0)node[right]{$O'$};
  \draw [->, very thick](1,0)node[below]{$B$}--(1,1)node[above]{$A$};
  \draw [->, very thick](6,0)node[above]{$B'$}--(6,-1.5)node[below]{$A'$};
\end{tikzpicture}
\end{document}